<div class="page_title">
    <span class="title_icon"><span class="blocks_images"></span></span>
    <h3>MEDICAMENTOS</h3>
</div>
<div id="content">
    <div class="grid_container">
        <div class="grid_12">
            <div class="widget_wrap">
                <div class="widget_top">
                    <span class="h_icon blocks_images"></span>
                    <h6>Listado de la Presentacion de Medicamentos</h6>
                </div>
                <div class="widget_content">
                    <table class="display data_tbl">
                        <thead>
                            <tr>
                                <th>Nro.</th>
                                <th>Nombre</th>
                                <th>Acciones</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $i = 1;?>
                            <?php foreach ($presmedicamentos as $med):?>
                                <tr class="gradeA">
                                    <td><?php  echo $i; $i++;?></td>
                                    <td><?php echo $med['Presentacionesmedicamento']['nombre']; ?></td>
                                    <td>
                                        <?php echo $this->Html->link($this->Html->image("iconos/edit.png", array("alt"=>'edit', 'title'=>'EDITAR')), array('action'=>'editar', $med['Presentacionesmedicamento']['id']), array('escape'=>false));?>
                                        <?php echo $this->Html->link($this->Html->image("iconos/cancel.png", array("alt" =>'eliminar', 'title' => 'eliminar')), array('action' => 'eliminar', $med['Presentacionesmedicamento']['id']),array('escape' => false), 
                                                    ("Desea eliminar realmente??")); ?>
                                    </td>
                                </tr>
                            <?php endforeach; ?>
                        </tbody>
                        <!--<tfoot>
                            <tr>
                                <th>Nombre</th>
                                <th>Descripcion</th>

                            </tr>
                        </tfoot>
                        -->
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

